﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GameSPK
{
    public interface ICauHoi
    {
        
        bool IsEnabled { get; set; }
        String MaCauHoi { get; set; }
        String NoiDung { get; set; }
        String DapAn { get; set; }
        
    }
    public class dataCauHoi : ICauHoi
    {
        public dataCauHoi()
        {
        }
        public dataCauHoi(String MaCauHoi, String NoiDung, String DapAn, bool chon)
        {
            this.MaCauHoi = MaCauHoi;
            this.NoiDung = NoiDung;
            this.DapAn = DapAn;
            this.IsEnabled = chon;
        }
        public dataCauHoi(CauHoi cauhoi, bool Chon)
        {
            this.MaCauHoi = cauhoi.MaCauHoi;
            this.NoiDung = cauhoi.CauHoi1;
            this.DapAn = cauhoi.DapAnDung;
            this.IsEnabled = Chon;
        }
        public string MaCauHoi
        {
            get;
            set;
        }
        public string NoiDung { get; set; }
        public string DapAn { get; set; }


        public bool IsEnabled { get; set; }
    }
}
